package com.shensi.adminCollect.mapper.station;


import com.shensi.adminCollect.domain.station.CardBatch;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CardBatchMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CardBatch record);

    int insertSelective(CardBatch record);

    CardBatch selectByPrimaryKey(@Param("batchNo") String batchNo,@Param("physicalCardType") String physicalCardType);

    int updateByPrimaryKeySelective(CardBatch record);

    int updateByPrimaryKey(CardBatch record);

    List<CardBatch> selectCardBatchList(CardBatch cardBatch);

    int updateCardBatch(@Param("id") Long id);

    CardBatch selectCardBatchLastByType(@Param("physicalCardType") String physicalCardType);

    CardBatch selectCardBatchById(@Param("id") Long id);
}